<?php


namespace app\api\controller\v1;

use app\api\model\Category as CategoryModel;
class Category
{
    public function  getAllCategory(){
        // 参数认证
        // model取值
        $result =  CategoryModel::getCategory();
        return $result;
    }
}